package com.ruoyi.analysiswarning.mapper;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.analysiswarning.domain.AnalyOverview;
import com.ruoyi.analysiswarning.domain.vo.OverViewVo;
import com.ruoyi.analysiswarning.domain.vo.QueryVo;
import com.ruoyi.diagmanage.domain.DatabaseReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AnalysiswarningMapper extends BaseMapper<AnalyOverview> {

    List<Map> queryEcharts(QueryVo queryVo);

    List<AnalyOverview> queryList(OverViewVo overViewVo);

    void updateState(@Param("id") String id, @Param("code") String code);

    void resetAlarm(String yesterday);

    void fakerDeleteAnalyOverviews(AnalyOverview analyOverview);
}
